//out:false
//单行文字省略号
// @substract单位为%
.ellipsis-basic(){
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ellipsis(@substract:0) {
    .ellipsis-basic();
    width:100% - @substract;
  }
  
   /*多行溢出省略号*/
  .ellipsis-multi(@line:2){
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: @line;
      overflow: hidden;
  }
  
  
  //三角
  .triangle (top,@w:5px,@color:#ccc){
    border-style:solid dashed dashed dashed;
    border-color:@color transparent transparent transparent;
    border-width:@w;
  }
  .triangle (right,@w:5px,@color:#ccc){
    border-style:dashed solid dashed dashed;
    border-color:transparent @color transparent transparent;
    border-width:@w;
  }
  .triangle (bottom,@w:5px,@color:#ccc){
    border-style:dashed dashed solid dashed;
    border-color:transparent transparent @color transparent;
    border-width:@w;
  }
  .triangle (left,@w:5px,@color:#ccc){
    border-style:dashed dashed dashed solid;
    border-color:transparent transparent transparent @color;
    border-width:@w;
  }
  .triangle (@_,@w:5px,@color:#ccc){
    .triangle-compatible();
  }
  //边框附加内容
  .triangle-compatible()
  {
      width: 0; height: 0; overflow:hidden;
  }
  //单独方向
  .triangle-b(@w:5px,@color:#ccc){
    border-style:solid dashed dashed dashed;
    border-color:@color transparent transparent transparent;
    border-width:@w;
    .triangle-compatible();
  }
  .triangle-l(@w:5px,@color:#ccc){
    border-style:dashed solid dashed dashed;
    border-color:transparent @color transparent transparent;
    border-width:@w;
    .triangle-compatible();
  }
  .triangle-t(@w:5px,@color:#ccc){
    border-style:dashed dashed solid dashed;
    border-color:transparent transparent @color transparent;
    border-width:@w;
    .triangle-compatible();
  }
  .triangle-r(@w:5px,@color:#ccc){
    border-style:dashed dashed dashed solid;
    border-color:transparent transparent transparent @color;
    border-width:@w;
    .triangle-compatible();
  }
  // 放大倍数
  .scale11(){
    transform:scale(1.07);  
  }


  